Skip to content

fix: duplicate page name error does not disappear on navigating to other pages#36320

Merged
KelvinOm merged 9 commits intoappsmithorg:releasefrom
a6hishekpandey:fix/35949-duplicate-page-name-error-does-not-disappear
Sep 19, 2024
Merged

fix: duplicate page name error does not disappear on navigating to other pages#36320
KelvinOm merged 9 commits intoappsmithorg:releasefrom
a6hishekpandey:fix/35949-duplicate-page-name-error-does-not-disappear

Conversation

@a6hishekpandey
Copy link
Copy Markdown
Contributor

@a6hishekpandey a6hishekpandey commented Sep 14, 2024

Description

Issue: Duplicate page name error does not disappear on navigating to other pages.

This PR addresses issue #35949 by resetting the isPageNameValid state to undefined using useEffect hook when the Page settings loads.

Fixes #35949

Warning

If no issue exists, please create an issue first, and check with the maintainers if the issue is valid.

Automation

/ok-to-test tags=""

🔍 Cypress test results

Caution

If you modify the content in this section, you are likely to disrupt the CI result for your PR.

Communication

Should the DevRel and Marketing teams inform users about this change?

  • Yes
  • No

Summary by CodeRabbit

  • Bug Fixes
    • Improved page name validation by resetting its state when the page data updates, ensuring accurate checks based on new information.
  • Style
    • Minor formatting adjustment for better code readability.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Duplicate page name error does not disappear on navigating to other pages

3 participants